﻿@using Benecura.Interfaces.Web.Classes.Helper.Extensions
@{
    ViewBag.Title = "Welcome";
}
@ViewBag.Test
@if (Request.IsAuthenticated)
{
    <h1>
        Welcome to @Url.GetAppName()!</h1>
    <ul data-role="listview" data-inset="true">
        <li data-role="list-divider">Navigation</li>
        <li>@Html.ActionLink("My Month", "MyMonth", "Schedule", new { parentid = "test", diff = 0 }, null)</li>
        <li>@Html.ActionLink("My Week", "MyWeek", "Schedule", new { parentid = "test", diff = 0 }, null)</li>
        <li>@Html.ActionLink("What else?", "Index", "Home")</li>
    </ul>
}
else
{
    <h1>
        You're currently logged out</h1>
    <p>
        Please @Html.ActionLink("Log In", "Login", "Account") and start using @Url.GetAppName()</p>  
}
<ul data-role="listview" data-inset="true">
    <li data-role="list-divider">More Information</li>
    <li>@Html.ActionLink("About", "About", "Home")</li>
    <li>@Html.ActionLink("Contact", "Contact", "Home")</li>
</ul>
@ViewBag.Message
